// SettingsPage.h
 
#ifndef __SETTINGSPAGE_H
#define __SETTINGSPAGE_H


#include "resource.h"

class CSettingsPage: public CPropertyPageImpl<CSettingsPage>
{
public:
	enum { IDD = IDD_SETTINGS};

	BEGIN_MSG_MAP(CSettingsPage)
		MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
		COMMAND_RANGE_HANDLER(IDC_SETTINGS_SHOW_DOTS, IDC_SETTINGS_LARGE_PAGES, OnChange)
		CHAIN_MSG_MAP(CPropertyPageImpl<CSettingsPage>)
	END_MSG_MAP()

	LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
	
	LRESULT OnChange(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
	{
		SetModified();
		return TRUE;
	}

  void OnHelp();
  int OnApply();
};

#endif
